package com.dgw.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dgw.entity.Course;

public interface CourseMapper {
    int deleteByPrimaryKey(String cId);

    int insert(Course record);

    int insertSelective(Course record);

    Course selectByPrimaryKey(String cId);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record);
    
    List<Course> selectByPageAndSelections(@Param(value = "keyword") String keyword);
}